{include file="admin@public/header"/}

<link rel="stylesheet" href="/public/static/admin/easyui/layui-v2.6.8/css/layui.css">
<style type="text/css">
    .wrapper{
		padding: 15px 18px 15px 18px;
	}
    #udfList li {
        display: list-item;
    }
    .advancedSearch-div .ui-input.ui-input-ph{
        width: 245px !important;
    }
    .advancedSearch-div .ui-input{width: 225px !important;}

    .ui-droplist-wrap .droplist .list-item:hover{background-color: #faffad;}

    .ui-input-ph{color: #222;}

    #report-search .ui-droplist-wrap li{display: list-item;padding-top: 0;margin-left: 0;width: 100%;}

    .ul-inline li label{width: 88px !important;}

</style>

<div class="wrapper" style="background-color: #fff;">
    <!-- header -->
      <div class="mod-search cf mod-search-adv-div" id="report-search">
            <div class="l advancedSearch-div" id="filter-menu">
                <ul class="ul-inline fix" id="filterItems">

                    <li id="date" style="display: list-item;">
                        <label>单据日期:</label>
                        <input type="date" value="" class="ui-input" name="filter-fromDate" id="filter-fromDate" maxlength="10" style="width:110px !important;">
                        <span class="todate"> ~ </span>
                        <input type="date" value="" class="ui-input" name="filter-toDate" id="filter-toDate" maxlength="10" style="width:110px !important;">
                    </li>

                    {in name="o_type" value="9"}
                    <li id="dateCheck" style="display: list-item;">
                        <label>审核日期:</label>
                        <input type="date" value="" class="ui-input" name="filter-fromDateCheck" id="filter-fromDateCheck" maxlength="10" style="width:110px !important;">
                        <span class="todate"> ~ </span>
                        <input type="date" value="" class="ui-input" name="filter-toDateCheck" id="filter-toDateCheck" maxlength="10" style="width:110px !important;">
                    </li>
                    {/in}

                    <li id="remarks" style="display: list-item;">
                        <label>分录备注:</label>
                        <input type="text" placeholder="请输入备注查询" class="ui-input ui-input-ph" name="remarkCon" id="remarkCon">
                    </li>      
            
                    {in name="o_type" value="3,0"}
                    <li id="filter-billDate" style="display: list-item;">
                        <label>交货日期:</label>
                        <input type="date" value="" class="ui-input" name="filter-billFromDate" id="filter-billFromDate" maxlength="10" style="width:110px !important;">
                        <span class="todate"> ~ </span>
                        <input type="date" value="" class="ui-input" name="filter-billToDate" id="filter-billToDate" maxlength="10" style="width:110px !important;">
                    </li>
                    {/in}

                    {in name="o_type" value="3"}
                    <li id="srcId" style="display: list-item;">
                        <label>关联销货订单:</label>
                        <input type="text" class="ui-input ui-input-ph" name="remarkCon" id="srcIdInput">
                    </li>  
                    {/in}

                    {in name="o_type" value="3"}
                    <li id="relativeId" style="display: list-item;">
                        <label>关联购货单:</label>
                        <input type="text" class="ui-input ui-input-ph" name="remarkCon" id="relativeIdInput">
                    </li>
                    {/in}

                    {in name="o_type" value="0"}
                    <li id="relativeId" style="display: list-item;">
                        <label>关联销货单:</label>
                        <input type="text" class="ui-input ui-input-ph" name="remarkCon" id="relativeIdInput">
                    </li>
                    {/in}
                    
                    <!-- 订单状态 orderStateId-->
                    {in name="o_type" value="3,0"}
                        {include file="admin@select/search/search_orderState"/}
                    {/in}

                    <!-- 收款状态 paymentStatusId-->
                    {in name="o_type" value="1"}
                        {include file="admin@select/search/search_paymentStatus"/}
                    {/in}

                    <!-- 对单状态 confirmStatusId-->
                    {in name="o_type" value="1"}
                        {include file="admin@select/search/search_confirmStatus"/}
                    {/in}


                    <!-- 选择客户 customer_id-->
                    {in name="o_type" value="0,1,2,8,10,12,13"}
                        {include file="admin@select/search/search_customer"/}
                    {/in}


                    <!-- 客户地址 -->
                    {in name="o_type" value="0,1,2"}
                    <li id="relativeId" style="display: list-item;">
                        <label>客户地址:</label>
                        <input type="text" class="ui-input ui-input-ph" name="contactAddrCon" id="contactAddrInput">
                    </li>
                    {/in}

                    <!-- 选择销售人员 salerAuto_id-->
                    {in name="o_type" value="1"}
                        {include file="admin@select/search/search_salerAuto"/}
                    {/in}
                
                    <!-- 选择供应商 supplier_id-->
                    {in name="o_type" value="3,4,5,7,11,14"}
                        {include file="admin@select/search/search_supplier"/}
                    {/in}

                    <!-- 调出仓库 storeOutId-->
                    {in name="o_type" value="6"}
                        {include file="admin@select/search/search_storeOut"/}
                    {/in}

                    <!-- 调入仓库 storeInId-->
                    {in name="o_type" value="6"}
                        {include file="admin@select/search/search_storeIn"/}
                    {/in}

                    <!-- 组件商品 goodsAutoId-->
                    {in name="o_type" value="9"}
                        {include file="admin@select/search/search_goodsAuto"/}
                    {/in}


                    <!-- 制单人 usersCreatId-->
                    {include file="admin@select/search/search_usersCreat"/}
                
                    <!-- 选择商品 goods_id-->
                    {notin name="o_type" value="9,10,11,12,13,14,15"}
                        {include file="admin@select/search/search_goods"/}
                    {/notin}

                    <!-- 子件商品 childgoodsAutoId-->
                    {in name="o_type" value="9"}
                        {include file="admin@select/search/search_childgoodsAuto"/}
                    {/in}

                    <!-- 最后修改人 usersModifyId-->
                    {include file="admin@select/search/search_usersModify"/}
                
                    <!-- 选择仓库 store_id-->
                    {notin name="o_type" value="6,10,11,12,13,14,15"}
                        {include file="admin@select/search/search_store"/}
                    {/notin}

                    <!-- 审核人 usersChecksId-->
                    {notin name="o_type" value="12"}
                        {include file="admin@select/search/search_usersChecks"/}
                    {/notin}
                    
                    
                    <!-- 业务类型 businessTypeId-->
                    {in name="o_type" value="3,0"}
                        {include file="admin@select/search/search_typefilter"/}
                    {/in}

                    <!-- 审核状态 checkStatusId-->
                    {notin name="o_type" value="12"}
                        {include file="admin@select/search/search_checkStatus"/}   
                    {/notin}

                    <!-- 付款账户 payAccId-->
                    {in name="o_type" value="11,15"}
                        {include file="admin@select/search/search_payAcc"/}
                    {/in}

                    <!-- 收款账户 recAccId-->
                    {in name="o_type" value="10,15"}
                        {include file="admin@select/search/search_recAcc"/}
                    {/in}

                    <!-- 付款人 payNameId-->
                    {in name="o_type" value="11"}
                        {include file="admin@select/search/search_payName"/}
                    {/in}

                    <!-- 收款人 recNameId-->
                    {in name="o_type" value="10"}
                        {include file="admin@select/search/search_recName"/}
                    {/in}
                    

                    <!-- 快递单号 -->
                    {in name="o_type" value="0,1,9,10,11,12,13,14,15"}
                    <li id="courierNumber" style="display: list-item;">
                        <label>快递单号:</label>
                        <input type="text" class="ui-input ui-input-ph" name="courierNumber" id="courierNumberInput">
                    </li>
                    {/in}
                        
                </ul>
                {in name="o_type" value="3,4"}
                <ul id="udfList" class="ul-inline fix">
                    <li><label>含精量：</label> 
                        <input type="text" class="ui-input ui-input-20 ui-input-search" style="width: 245px !important;">
                    </li>
                 

                    <!-- 国标 NationalId-->
                    {include file="admin@select/search/search_National"/}


                    <li>
                        <label>出厂日期：</label>
                        <input type="date" class="ui-input" style="width:110px !important;"> 
                        <span class="todate"> ~ </span> 
                        <input type="date" class="ui-input" style="width:110px !important;"> 
                    </li>
                </ul>
                {/in}
            </div>
      </div>

      

</div>

<script type="text/javascript" src="/public/static/admin/easyui/jeasyui/jquery.easyui.min.js"></script>



{include file="admin@public/footer"/}